package gui;

import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;

@ManagedBean
public class SairBean {

	public SairBean(){
	}
	
	public String deslogar(){
		FacesContext.getCurrentInstance().getExternalContext().getSessionMap().remove("loginBean");
		return "index.xhtml";
	}
}
